<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
     <div id="app">
         <ul>
             <template v-for="book in books">
                 <li>书名：{{ book.name }}</li>
                 <li>作者：{{ book.author }}</li>
             </template>
         </ul>
     </div>
     <script>
         var app = new Vue({
             el:'#app',
             data:{
                 books:[
                     {
                         name:'《Vue.js 实战》'
                         author:'梁灏'
                     },
                     {
                        name:'精粹',
                        auther:'wo'
                     },
                     {

                     }
                 ]
             }
         })
     </script>
</body>
</html>